/**************************************************************************
 *
 * Copyright 2014 MaeckySoft Ltd., Bludenz, Austria.
 * All Rights Reserved.
 *
 **************************************************************************/


#ifndef MFTMANAGER_H
#define MFTMANAGER_H

#include <MGlyph.h>
#include <ft2build.h>
#include <M3DBase.h>

#include FT_FREETYPE_H

#define PT 64

class MFTManager : M3DBase
{
    public:
        MFTManager(int iDebug);
        ~MFTManager();
        int initFT();
        int loadFont(char *sName);
        int setFontSize(int iPt, int iH_res = 300, int iV_res = 300);
        MGlyph *renderCharacter(char cCharacter);
		void printMethodInfo(std::string method);
    protected:
    private:
        FT_Library m_FTL_Library;
        FT_Face m_FTF_Face;
};

#endif // MFTMANAGER_H
